#ifndef __LV_CUSTOM_H_
#define __LV_CUSTOM_H_

#ifdef __cplusplus
extern "C" { //only need to export C interface if
    // used by C++ source code
#endif

#include "ltime.h"

#define TILES_ZOOM_MIN  11
#define TILES_ZOOM_MAX  14

void lv_demo_widgets(void);
void lv_gui_refresh(void);

void lv_clock_update(NmeaTime_T* time);
void lv_gui_set_battery_charge(uint32_t charging);
void lv_gui_set_battery_voltage(uint32_t voltage);
void lv_gui_set_rotation(lv_disp_rot_t rotation);
void lv_gui_set_gyro(int32_t angle, int32_t pitch, int32_t roll);
void lv_gui_set_title(uint32_t pos_x, uint32_t pos_y);
int  lv_get_location_zoom(void);
#ifdef __cplusplus
}
#endif

#endif // !__LV_CUSTOM_H_

